.class Lcom/netease/newsreader/activity/DetailPushPage$34$1$2;
.super Landroid/os/AsyncTask;
.source "DetailPushPage.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/DetailPushPage$34$1;->onClick(Landroid/content/DialogInterface;I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroid/os/AsyncTask",
        "<",
        "Ljava/lang/String;",
        "Ljava/lang/Integer;",
        "Ljava/lang/String;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$2:Lcom/netease/newsreader/activity/DetailPushPage$34$1;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/DetailPushPage$34$1;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/DetailPushPage$34$1$2;->this$2:Lcom/netease/newsreader/activity/DetailPushPage$34$1;

    .line 1463
    invoke-direct {p0}, Landroid/os/AsyncTask;-><init>()V

    return-void
.end method


# virtual methods
.method protected bridge varargs synthetic doInBackground([Ljava/lang/Object;)Ljava/lang/Object;
    .locals 1
    .parameter

    .prologue
    .line 1
    check-cast p1, [Ljava/lang/String;

    invoke-virtual {p0, p1}, Lcom/netease/newsreader/activity/DetailPushPage$34$1$2;->doInBackground([Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected varargs doInBackground([Ljava/lang/String;)Ljava/lang/String;
    .locals 3
    .parameter "params"

    .prologue
    .line 1466
    const-string v0, "www"

    const/4 v1, 0x0

    aget-object v1, p1, v1

    iget-object v2, p0, Lcom/netease/newsreader/activity/DetailPushPage$34$1$2;->this$2:Lcom/netease/newsreader/activity/DetailPushPage$34$1;

    invoke-static {v2}, Lcom/netease/newsreader/activity/DetailPushPage$34$1;->access$0(Lcom/netease/newsreader/activity/DetailPushPage$34$1;)Lcom/netease/newsreader/activity/DetailPushPage$34;

    move-result-object v2

    invoke-static {v2}, Lcom/netease/newsreader/activity/DetailPushPage$34;->access$0(Lcom/netease/newsreader/activity/DetailPushPage$34;)Lcom/netease/newsreader/activity/DetailPushPage;

    move-result-object v2

    invoke-static {v0, v1, v2}, Lcom/netease/newsreader/util/HttpUtils;->getDocShortUrl(Ljava/lang/String;Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected bridge synthetic onPostExecute(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    check-cast p1, Ljava/lang/String;

    invoke-virtual {p0, p1}, Lcom/netease/newsreader/activity/DetailPushPage$34$1$2;->onPostExecute(Ljava/lang/String;)V

    return-void
.end method

.method protected onPostExecute(Ljava/lang/String;)V
    .locals 5
    .parameter "result"

    .prologue
    .line 1470
    invoke-super {p0, p1}, Landroid/os/AsyncTask;->onPostExecute(Ljava/lang/Object;)V

    .line 1472
    new-instance v0, Landroid/content/Intent;

    const-string v2, "android.intent.action.SEND"

    invoke-direct {v0, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 1473
    .local v0, emailIntent:Landroid/content/Intent;
    const-string v2, "message/rfc822"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    .line 1474
    const-string v2, "android.intent.extra.SUBJECT"

    .line 1475
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPushPage$34$1$2;->this$2:Lcom/netease/newsreader/activity/DetailPushPage$34$1;

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPushPage$34$1;->access$0(Lcom/netease/newsreader/activity/DetailPushPage$34$1;)Lcom/netease/newsreader/activity/DetailPushPage$34;

    move-result-object v3

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPushPage$34;->access$0(Lcom/netease/newsreader/activity/DetailPushPage$34;)Lcom/netease/newsreader/activity/DetailPushPage;

    move-result-object v3

    invoke-virtual {v3}, Lcom/netease/newsreader/activity/DetailPushPage;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f0b0046

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v3

    .line 1474
    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1477
    iget-object v2, p0, Lcom/netease/newsreader/activity/DetailPushPage$34$1$2;->this$2:Lcom/netease/newsreader/activity/DetailPushPage$34$1;

    invoke-static {v2}, Lcom/netease/newsreader/activity/DetailPushPage$34$1;->access$0(Lcom/netease/newsreader/activity/DetailPushPage$34$1;)Lcom/netease/newsreader/activity/DetailPushPage$34;

    move-result-object v2

    invoke-static {v2}, Lcom/netease/newsreader/activity/DetailPushPage$34;->access$0(Lcom/netease/newsreader/activity/DetailPushPage$34;)Lcom/netease/newsreader/activity/DetailPushPage;

    move-result-object v2

    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPushPage$34$1$2;->this$2:Lcom/netease/newsreader/activity/DetailPushPage$34$1;

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPushPage$34$1;->access$0(Lcom/netease/newsreader/activity/DetailPushPage$34$1;)Lcom/netease/newsreader/activity/DetailPushPage$34;

    move-result-object v3

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPushPage$34;->access$0(Lcom/netease/newsreader/activity/DetailPushPage$34;)Lcom/netease/newsreader/activity/DetailPushPage;

    move-result-object v3

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPushPage;->access$2(Lcom/netease/newsreader/activity/DetailPushPage;)Ljava/util/HashMap;

    move-result-object v3

    const/4 v4, -0x1

    invoke-static {v2, v3, p1, v4}, Lcom/netease/newsreader/activity/DetailPushPage;->access$115(Lcom/netease/newsreader/activity/DetailPushPage;Ljava/util/Map;Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v1

    .line 1479
    .local v1, html:Ljava/lang/String;
    const-string v2, "android.intent.extra.TEXT"

    invoke-static {v1}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;

    .line 1480
    iget-object v2, p0, Lcom/netease/newsreader/activity/DetailPushPage$34$1$2;->this$2:Lcom/netease/newsreader/activity/DetailPushPage$34$1;

    invoke-static {v2}, Lcom/netease/newsreader/activity/DetailPushPage$34$1;->access$0(Lcom/netease/newsreader/activity/DetailPushPage$34$1;)Lcom/netease/newsreader/activity/DetailPushPage$34;

    move-result-object v2

    invoke-static {v2}, Lcom/netease/newsreader/activity/DetailPushPage$34;->access$0(Lcom/netease/newsreader/activity/DetailPushPage$34;)Lcom/netease/newsreader/activity/DetailPushPage;

    move-result-object v2

    .line 1481
    iget-object v3, p0, Lcom/netease/newsreader/activity/DetailPushPage$34$1$2;->this$2:Lcom/netease/newsreader/activity/DetailPushPage$34$1;

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPushPage$34$1;->access$0(Lcom/netease/newsreader/activity/DetailPushPage$34$1;)Lcom/netease/newsreader/activity/DetailPushPage$34;

    move-result-object v3

    invoke-static {v3}, Lcom/netease/newsreader/activity/DetailPushPage$34;->access$0(Lcom/netease/newsreader/activity/DetailPushPage$34;)Lcom/netease/newsreader/activity/DetailPushPage;

    move-result-object v3

    invoke-virtual {v3}, Lcom/netease/newsreader/activity/DetailPushPage;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f0b004b

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v3

    .line 1480
    invoke-static {v0, v3}, Landroid/content/Intent;->createChooser(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/netease/newsreader/activity/DetailPushPage;->startActivity(Landroid/content/Intent;)V

    .line 1482
    return-void
.end method
